package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {

    /**
     * 添加敏感词
     */
    public ResponseResult addSensitive(WmSensitive wmSensitive);
    /**
     * 删除敏感词
     * @param id
     */
    public ResponseResult deleteSensitive(Integer id);
    /**
     * 修改敏感词
     *
     */
    public ResponseResult updateSensitive(WmSensitive wmSensitive);
    /**
     * 分页查询敏感词
     * @param dto
     */
    public ResponseResult findSensitive(WmSensitiveDto dto);

}
